package com.skyun.watchmanager;

import android.support.v4.app.Fragment;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

import me.skyun.androidarch.base.BaseTabActivity;

public class TicMainActivity extends BaseTabActivity {

    @Override
    protected Fragment getFragment(int position) {
        switch (position) {
            case 0:
                return new MyWatchFragment();
            case 1:
                return new Fragment();
            case 2:
                return new Fragment();
            default:
                return new Fragment();
        }
    }

    @Override
    protected int getTabCount() {
        return 3;
    }

    @Override
    protected CharSequence getPageTitle(int position) {
        switch (position) {
            case 0:
                return "我的手表";
            case 1:
                return "模块";
            case 2:
                return "应用商店";
            default:
                return "我的手表";
        }
    }
}
